package com.hutao.medical.mapper.print;

import com.hutao.medical.pojo.print.PrintFeeDetail;
import com.hutao.medical.pojo.print.PrintFeeDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrintFeeDetailMapper {
    int countByExample(PrintFeeDetailExample example);

    int deleteByExample(PrintFeeDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PrintFeeDetail record);

    int insertSelective(PrintFeeDetail record);

    List<PrintFeeDetail> selectByExample(PrintFeeDetailExample example);

    PrintFeeDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PrintFeeDetail record, @Param("example") PrintFeeDetailExample example);

    int updateByExample(@Param("record") PrintFeeDetail record, @Param("example") PrintFeeDetailExample example);

    int updateByPrimaryKeySelective(PrintFeeDetail record);

    int updateByPrimaryKey(PrintFeeDetail record);
    
    //根据打印费用id和诊疗记录唯一标示获取打印费用详情 
    PrintFeeDetail getPrintFeeDetailByPrintFeeId(@Param("printFeeId")Integer printFeeId,@Param("medicalOnlyId")String medicalOnlyId);


}